package com.example.demo.service;

import com.example.demo.entity.Position;
import com.example.demo.outstyle.*;
import com.example.demo.util.MyPair;

import java.util.List;

public interface PositionService {

    Base selectBaseData();
    List<Integer> selectLanguageCounts();
    List<MyPair<String, List<String>>> selectPositionByCity();
    List<Integer> selectSalaryByWorkYear();
    List<MyPair<String, Integer>> selectComponyWelfare();
    List<Position> selectAll(int page,int limit,Position position);
    int deleteInfo(String id);
    int updateInfo(Position position);
    int insertInfo(Position position);
    int selectPositionCount();
    List<TreeType<TreeType<TreeTreeType>>> getType();
    List<TreeType<TreeTreeType>> getLocation();
    int selectAllCount(int begin,
                                  int limit,
                                  Position example);
    Famous selectByFamous();

    /**
     * 我的写在下面了
     * by 王若岩
     */
    List<String> selectCompanyLogo();//企业Logo轮播

    List<Integer> selectPositionByLanguage();//开发语言招聘量

    List<Integer> selectPositionBySalary();//薪资分布

    List<Integer> selectPositionBySalaryTest();//薪资分布测试方法

    List<Integer> selectCompanyBySize();//企业规模分布

    List<District> selectTop5ByDistrict();//行政区划Top5

    List<Integer> selectPositionByEducation();//学历要求

    List<String> selectCompany(List<String> keyWordList);

    List<String> selectPosition(List<String> keyWordList);
}
